#!/bin/sh
count=1
while [  $count -le 100 ]
do
    echo "This is $count times..."
    sudo touch test$count.cpp
    cat << EOF > test$count.cpp
#include"test.h"
#include<iostream>
#include<cstring>
static void printcount()
{
    printhead();
}
EOF
    count=$(($count+1))
done
